import { createRouter,createWebHashHistory } from "vue-router";
import LoGin from "./login/LoGin .vue";
import ReGister from "./register/ReGister.vue";
import GuanLogin from "./login/GuanLogin.vue";
const router=createRouter({
    history:createWebHashHistory(),
    routes:[
      {
        path:"/login",
        component:LoGin,  
        name: "login"
    },
    {
      path:"/login",
        component:LoGin,  
        name: "LoGin"
    },
    {
      path: "/",
      component: ReGister,
      name: "register"
    },
    {
      path: "/ReGister",
      component: ReGister,
      name: "ReGister"
    },
    {
      path:"/GuanLogin",
      component:GuanLogin,  
      name: "GuanLogin"
    }
]
});
export default router;